import { title } from 'process';

const routes = [
    { path: '/', component: () => import('../pages/Index.vue') },
    { path: '/team', title: '找队伍', component: () => import('../pages/TeamPage.vue') },
    { path: '/user', title: '个人信息', component: () => import('../pages/UserUpdatePage.vue') },
    { path: '/search', title: '找伙伴', component: () => import('../pages/SearchPage.vue') },
    { path: '/user/Token', title: '聊天室', component: () => import('../pages/TokenPage.vue')},
    { path: '/user/edit', title: '编辑信息', component: () => import('../pages/UserEditPage.vue')},
    { path: '/user/list', title: '用户列表', component: () => import('../pages/UserResultPage.vue')},
    { path: '/user/login', title: '用户登录', component: () => import('../pages/UserLoginPage.vue') },
    { path: '/user/register', title: '用户注册', component: () => import('../pages/UserRegisterPage.vue') },
    { path: '/user/password', title: '更改密码', component: () => import('../pages/ReSetPwdPage.vue') },
    { path: '/team/add', title: '创建队伍', component: () => import('../pages/TeamAddPage.vue') },
    { path: '/team/update', title: '更新队伍', component: () => import('../pages/TeamUpdatePage.vue') },
    { path: '/user/update', title:'更新信息', component: () => import('../pages/UserPage.vue') },
    { path: '/user/team/join', title:'我加入的队伍', component: () => import('../pages/UserTeamJoinPage.vue') },
    { path: '/user/team/create', title:'我创建的队伍', component: () => import('../pages/UserTeamCreatePage.vue') },
    { path: '/user/edit/tag', title:'我的标签', component: () => import('../pages/UserTagPage.vue')}, 
]

export default routes;//导出